#ifndef GAMEMENU_H
#define GAMEMENU_H

#include <QGraphicsScene>
#include <QGraphicsTextItem>
#include <QGraphicsPixmapItem>

class GameMenu : public QGraphicsScene
{
    Q_OBJECT
public:
    explicit GameMenu(QObject *parent = nullptr);

signals:
    void startGame();
    void exitGame();

protected:
    void keyPressEvent(QKeyEvent *event) override;

private:
    QGraphicsPixmapItem *title;
    QGraphicsTextItem *startText;
    QGraphicsTextItem *exitText;

    void setupMenu();
};

#endif // GAMEMENU_H
